<template>
    <div>
        <van-swipe-cell v-for="(value,index) in complaints" :key="index">
            <van-card
                class="goods-card"
                desc="1"
                title="2"
                thumb="3"
            />
            <template #right>
                <van-button square text="删除" type="danger" class="delete-button" />
            </template>
        </van-swipe-cell>
    </div>
</template>
<script>
export default {
    data(){
        return{
            complaints:{
                desc:'',
                title:'',
                thumb:'',
            }

        }
    },
    methods:{

    }
}
</script>
<style>
  .goods-card {
    margin: 0;
    background-color: #FFFFE0;
  }

  .delete-button {
    height: 100%;
  }
</style>